package com.amadues.common.constant;


/**
 * 产品常量信息
 *
 * @author Amadeus
 * @date 2020/11/23
 */
public class ProductConstant {


    public static final String BASE = "base";

    /**
     * attr枚举
     *
     * @author Amadeus
     * @date 2020/11/23
     */
    public enum AttrEnum {
        /* 产品类别 */
        ATTR_TYPE_BASE(1, "基本属性"), ATTR_TYPE_SALE(0, "销售属性");
        private int code;
        private String msg;

        AttrEnum(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }
}
